serial: zynq: Use static inline for _debug_uart_init()
authorMichal Simek <[email protected]>
Tue, 5 Jan 2016 11:49:21 +0000 (12:49 +0100)
committerTom Rini <[email protected]>
Fri, 8 Jan 2016 15:15:45 +0000 (10:15 -0500)
commit80dc99972bd016af559f76e5b51a421f7ae2216e
tree912b5c63c9fbc3c8e6d611db464861640ff2e636
parent821fec0ceb3e26f9306f331fa547a980ff111134
serial: zynq: Use static inline for _debug_uart_init()

Mark _debug_uart_init() as static to avoid sparse warning and
inline it to debug_uart_init().

Reported-by: Thomas Chou <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
Reviewed-by: Thomas Chou <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Acked-by: Simon Glass <[email protected]>
drivers/serial/serial_zynq.c